<template>
    <vue-markdown :source="intro"></vue-markdown>
</template>

<script>
import { mapActions } from 'vuex';
import VueMarkdown from 'vue-markdown';
export default {
    components:{
        VueMarkdown
    },
    data(){
        return{
            intro:""
        }
    },
    methods: {
        ...mapActions(['XgetDataDesc'])
    },
    mounted() {
        this.XgetDataDesc(this.$router.currentRoute.params.id).then(res => {
            this.intro = res.data.data_desc
        })
    },
}
</script>

<style lang="scss" scoped>

</style>